<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 编写函数，求圆的面积 -->
    <script>
        function sum(a,b){
        var a=a||3.14;
var b=b||10;
        console.log(a*b*b);
        }
       sum(3.14,200);
       
    </script>
</body>
</html>